package com.forever7776.life.core.entity.praise;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 动弹点赞详细表
 * </p>
 *
 * @author kz
 * @since 2018-04-11
 */
@TableName("praise_detail_tweet")
public class PraiseDetailTweet extends Model<PraiseDetailTweet> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 动弹ID
     */
    @TableField("tweet_id")
    private Integer tweetId;
    /**
     * 用户ID
     */
    @TableField("user_id")
    private String userId;
    /**
     * 0：点赞 1：不点赞
     */
    private Integer status;
    @TableField("insert_date")
    private Date insertDate;
    @TableField("last_date")
    private Date lastDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTweetId() {
        return tweetId;
    }

    public void setTweetId(Integer tweetId) {
        this.tweetId = tweetId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "StatDetailTweet{" +
        ", id=" + id +
        ", tweetId=" + tweetId +
        ", userId=" + userId +
        ", status=" + status +
        ", insertDate=" + insertDate +
        ", lastDate=" + lastDate +
        "}";
    }
}
